<?php
/**
 * 描述
 * Created by Paco
 * Date: 2018/8/23 Time: 11:15
 */

namespace App\Http\Request\Auth;


use App\Http\Request\Store;

class InfoStore extends Store
{
    public function rules()
    {
        return [
            'admin_id' => 'required|integer',
            'password' => 'filled|confirmed',
        ];
    }


    public function after()
    {
        $params = $this->validateData();

        if (isset($params['tel'])) {
            $this->throwRespondError(10311);
        }
        return true;
    }
}